<?php /* @var $this Controller */ ?>
<!doctype html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0"> 
        <title><?php print $this->pageTitle; ?></title>
        <link rel="shortcut icon" href="<?php print Yii::app()->params->baseUrl; ?>/favicon.ico">

        <!-- Add your CSS files here -->
        <link rel="stylesheet" href="<?php print Yii::app()->params->baseUrl; ?>/include/personaltheme/css/normalize.min.css">
        <link rel="stylesheet" href="<?php print Yii::app()->params->baseUrl; ?>/include/personaltheme/css/style.css">
        <?php if(isset(Yii::app()->session['app']['theme'])){?>
        <link rel="stylesheet" href="<?php print Yii::app()->params->baseUrl; ?>/include/personaltheme/css/themes/<?php print Yii::app()->session['app']['theme'];?>.css">
        <?php }else{ ?>
        <link rel="stylesheet" href="<?php print Yii::app()->params->baseUrl; ?>/include/personaltheme/css/themes/green.css">
        <?php } ?>
        <!-- Add your Fonts here -->
        <link href='http://fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'>
        <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>

    </head>
    <body>
        <?php echo $content; ?>
    </body>
</html>
